package Thread;

public class demo4 {
    public static void main(String[] args) {
        Thread t = new Thread(()->{
            while (true){
                System.out.println("thread");
            }
        });
        t.start();
        while (true){
            System.out.println("main");
        }
    }
}
